/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yaps.petstore.dao;

import com.yaps.petstore.entity.catalog.Item;
import com.yaps.petstore.entity.catalog.Product;
import java.util.List;

/**
 *
 * @author belhassine
 */
public interface ItemDAO {
    
    Item createItem(final Item item, final Product product);

    void deleteItem(final Item item);

    Item findItem(final Long itemId);

    List<Item> findItems();

    List<Item> searchItems(final String keyword);

    Item updateItem(final Item item, final Product product);
    
}


